dom.getIsTemplateDocument()

Availability 3.0
Description Determines whether the document is a template.
Arguments None.
Returns A Boolean value indicating whether the document is a DWT file.
Enabler None.